


const http = require('http')

// const server = http.createServer(function(request,response){
//     console.log('123')
//     response.end(`<h1>Hello W!大师大法</h1>`);
// })
// server.listen(5566)
// console.log(http);
const server = http.createServer(function(request,response){
    response.setHeader('Content-Type', 'text/html; charset=utf-8');
    // window.open(./index.html)
    response.end(`<h1>123数据大师</h1>`)

})
server.listen(5556) //127.0.0.1:5556